package cn.itcast.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 封装个股行情数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StockBean {

    private Long tradeTime; //格式化时间 20211201164559
    private String secCode;
    private String secName;
    private BigDecimal preClosePrice;
    private BigDecimal openPrice;
    private BigDecimal highPrice;
    private BigDecimal lowPrice;
    private BigDecimal closePrice;
    private Long tradeVol;//分时成交量
    private Long tradeAmt;//分时成交金额
    private Long tradeVolDay;//日成交总量
    private Long tradeAmtDay;//日成交总金额
    private String tradeDate; //格式化时间 2021-12-01
    private Long eventTime; //事件时间 1638348308167
    private String source;

}
